/* eslint-disable */

import React from 'react';
import { Svg, Path } from 'react-native-svg';
import { getIconColor } from './helper';

let IconRefresh = ({ size, color, ...rest }) => {
  return (
    <Svg viewBox="0 0 1024 1024" width={size} height={size} {...rest}>
      <Path
        d="M366.799872 875.561984c0-9.96864 1.00352-19.704832 2.90816-29.113344-130.395136-55.62368-221.7984-184.9856-221.7984-335.705088 0-150.719488 91.403264-280.080384 221.7984-335.704064-1.903616-9.408512-2.90816-19.14368-2.90816-29.115392 0-18.014208 3.274752-35.264512 9.243648-51.195904C201.20064 152.1408 74.945536 316.693504 74.945536 510.744576c0 194.049024 126.25408 358.600704 301.097984 416.014336C370.074624 910.826496 366.799872 893.57824 366.799872 875.561984z"
        fill={getIconColor(color, 0, '#333333')}
      />
      <Path
        d="M649.412608 94.729216c5.966848 15.93344-63.72352 33.181696-63.72352 51.195904 0 9.971712 71.963648 19.70688 70.060032 29.115392 130.392064 55.620608 221.794304 184.984576 221.794304 335.704064 0 150.719488-91.40224 280.07936-221.794304 335.705088 1.903616 9.408512 2.904064 19.14368 2.904064 29.113344 0 18.016256-3.272704 35.265536-9.239552 51.195904 174.838784-57.412608 301.09696-221.965312 301.09696-416.014336C950.509568 316.693504 824.251392 152.1408 649.412608 94.729216z"
        fill={getIconColor(color, 1, '#333333')}
      />
      <Path
        d="M657.437696 291.851264 476.854272 145.926144 657.437696 0Z"
        fill={getIconColor(color, 2, '#333333')}
      />
      <Path
        d="M366.799872 1021.487104 547.382272 875.561984 366.799872 729.633792Z"
        fill={getIconColor(color, 3, '#333333')}
      />
    </Svg>
  );
};

IconRefresh.defaultProps = {
  size: 18,
};

IconRefresh = React.memo ? React.memo(IconRefresh) : IconRefresh;

export default IconRefresh;
